﻿<%@ Page Language="C#" MasterPageFile="~/Enterprise/Master/AdminMaster.Master" AutoEventWireup="true"
    CodeBehind="AuditNoticeList.aspx.cs" Inherits="HZ.DrugTrade.Web.Enterprise.MessageManage.AuditNoticeList"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li class="active"><a href="AuditNoticeList.aspx">公告列表</a></li>
            <li><a href="MessageGet.aspx">消息列表</a></li>
            <li><a href="FeedBackList.aspx">反馈列表</a></li>
        </ul>
    </div>
     <div class="maincon">
        <div> &nbsp;
            </div>
        <div id="note2">
        <asp:RadioButtonList ID="rblNoticeType" runat="server"   Visible="false"
                RepeatDirection="Horizontal" RepeatLayout="Flow" 
                CellPadding="0" CellSpacing="0" ToolTip="选择不同类型的公告" ForeColor="Black" 
                onselectedindexchanged="rblNoticeType_SelectedIndexChanged" 
                AutoPostBack="True">
        <asp:ListItem Text="已接收" Selected="True" Value="N1"/>
        </asp:RadioButtonList>
        </div>
    </div>
    <asp:GridView ID="gvwNotice" runat="server" AutoGenerateColumns="False" Width="100%"
        CssClass="mainlist" EmptyDataText="暂无相关的公告信息！" >
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 %>
                </ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="标题">
                <ItemTemplate>
                    <a href='NoteInfo.aspx?mID=<%# Eval("NoticeSerialID") %>&flag=<%=rblNoticeType.SelectedValue %>'>
                        <asp:Label runat="server" ID="lblNtitle" Text='<%#  Server.HtmlEncode(Eval("Title").ToString()) %>'
                            ToolTip="点击进入审核该公告"></asp:Label></a>
                </ItemTemplate>
                <HeaderStyle Width="300px" />
            </asp:TemplateField>
             <asp:BoundField DataField="RoleNames" HeaderText="查看方" 
                HeaderStyle-Width="100px" >
<HeaderStyle Width="100px"></HeaderStyle>
            </asp:BoundField>
            <asp:BoundField DataField="SenderName" HeaderText="发布方" 
                HeaderStyle-Width="100px" >
<HeaderStyle Width="100px"></HeaderStyle>
            </asp:BoundField>
            <asp:BoundField DataField="SendTime" HeaderText="发布时间" 
                HeaderStyle-Width="100px" >
<HeaderStyle Width="100px"></HeaderStyle>
            </asp:BoundField>
            <asp:TemplateField HeaderText=" " Visible="false">
                <HeaderTemplate>
                    <input id="addTable_chkAll" name="addTable_chkAll" type="checkbox" onclick="SelectAllCheckboxes(this,'ctl00_ContentPlaceHolder1_gvwInvoice','addTable_chkAll'); " />
                </HeaderTemplate>
                <ItemTemplate>
                    <input type="checkbox" name="chkMsg" id="chkMsg" value='<%#Eval("NoticeSerialID")%>'
                        onclick="chkChecked(this,'ctl00_ContentPlaceHolder1_gvwInvoice','addTable_chkAll');"
                        runat="server" />
                </ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
        </Columns>
        <HeaderStyle HorizontalAlign="Center" />
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>提示：<span>点击标题，查看公告详细信息。</span></li>
        </ul>
    </div>
    
</asp:Content>
